package cn.maszy.service.projectmanagement;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import cn.maszy.common.Pager;
import cn.maszy.dao.projectmanagement.B_T_Ufp_EngineerMaterialMapper;
import cn.maszy.model.projectmanagement.B_T_Ufp_EngineerMaterial;
import cn.maszy.model.projectmanagement.B_T_Ufp_EngineerMaterialExample;

public interface B_T_Ufp_EngineerMaterialService {
	 /**
	  * 根据主键修改单条记录
	  */
	 int update(@Param("record") B_T_Ufp_EngineerMaterial b_T_Ufp_EngineerMaterial);
	 /**
	  * 根据主键查询单条记录
	  */
	 B_T_Ufp_EngineerMaterial selectOne(String uuid);
	 /**
	  * 查询多条记录
	  */
	Pager<B_T_Ufp_EngineerMaterial> selectList(B_T_Ufp_EngineerMaterial b_T_Ufp_EngineerMaterial,Pager<B_T_Ufp_EngineerMaterial> pager) ;
	/**
	  * 查询总计金额
	  */
	float  totalamount(B_T_Ufp_EngineerMaterial b_T_Ufp_EngineerMaterial);
	/**
	  * 查询
	  */
	List<B_T_Ufp_EngineerMaterial> select(B_T_Ufp_EngineerMaterial b_T_Ufp_EngineerMaterial) ;
	/**
	  * 根据参数删除单条记录
	  * @param example
	  * @return
	  */
	  int delete(String checkId);
	  /**
	   * 查询总记录数
	   */
	  int count(B_T_Ufp_EngineerMaterialExample example,B_T_Ufp_EngineerMaterialMapper b_T_Ufp_EngineerMaterialMapper);
}
